@import "src/common/styles/base";

.notice-list-page {
  padding-bottom: env(safe-area-inset-bottom);

  .tabs {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 24px;
    margin-bottom: 2px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
    padding: 0 230px;

    .tab {
      font-size: 32px;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      line-height: 45px;
      transition: all 0.3s ease-in-out;
      position: relative;

      .status {
        width: 31px;
        height: 31px;
        background: linear-gradient(90deg, #FE6E19 0%, #F62A21 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: #FFFFFF;
        position: absolute;
        right: -38px;
        top: 0;
        border-radius: 50%;
      }

      &__active {
        color: #45c68b;

        .line {
          height: 4px;
          margin-top: 20px;
          background: linear-gradient(90deg,
              rgba(76, 202, 121, 1) 0%,
              rgba(67, 197, 144, 1) 100%);
          border-radius: 2px;
        }


      }
    }
  }

  .show-tabcon {
    display: block;
  }

  .hide-tabcon {
    display: none;
  }

  .item {
    width: 688px;
    box-sizing: border-box;
    padding: 30px 37px 24px 36px;
    background: #FFFFFF;
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    margin: 20px auto;

    .title {
      display: flex;
      align-items: center;
      margin-bottom: 24px;
      height: 42px;

      .text {
        font-size: 30px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #434343;
      }

      .status {
        border-radius: 50%;
        width: 14px;
        margin-left: 10px;
        height: 14px;
        background: linear-gradient(90deg, #FE6E19 0%, #F62A21 100%);
      }
    }

    .content {
      font-size: 24px;
      font-weight: 400;
      color: #434343;
      line-height: 33px;
      letter-spacing: 1px;
      margin-bottom: 24px;

      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
    }

    .time {
      text-align: right;

      font-size: 24px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: #999999;
      line-height: 33px;
    }
  }
}
